//
//  HomeData.h
//  Village
//
//  Created by 程虎 on 2017/9/19.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "VillageModel.h"

@interface HomeHttpTools : NSObject

/**
 获取区域id
 */
+ (void)GetAreaIDWith:(LocationModel *)model Success:(void (^)(NSString *arearid))success failure:(void (^)(NSString *))failure;

/**
 查询banner
 */
+ (void)GetBannerSuccess:(void (^)(NSArray *valueAry,NSArray *imgArys,NSArray *titleArys))success failure:(void (^)(NSString *error))failure;

/**
 查询首页头条
 */
+ (void)GetHeadlineSuccess:(void (^)(NSArray *valueAry))success failure:(void (^)(NSString *error))failure;

/**
 增加阅读数
 */
+ (void)AddHeadlineNewReadNumWith:(VillageModel *)model Success:(void (^)())success failure:(void (^)(NSString *error))failure;
@end
